package com.karrim.server.io.sql.def;

import com.karrim.server.io.def.CheckedLocatedLoadable;
import com.karrim.server.io.sql.util.Table;
import java.sql.ResultSet;
import java.sql.SQLException;

/**
 *
 * @author andrea.cantafio
 */
public interface SQLLoader<Connector extends SQLStream> extends CheckedLocatedLoadable<Connector, SQLLocator, ResultSet, SQLException> {

    Table getTableDefinition(String table) throws SQLException;

    String[] getTableNames() throws SQLException;
}
